home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_S_t_r_i_n_g_D_r_a_w_I_m_a_g_e - A compound string function that draws a
- compound string in an X Window and creates an image
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Xm.h>
-
- void XmStringDrawImage (dddd,,,, wwww,,,, ffffoooonnnnttttlllliiiisssstttt,,,, ssssttttrrrriiiinnnngggg,,,, ggggcccc,,,, xxxx,,,, yyyy,,,, wwwwiiiiddddtttthhhh,,,, aaaalllliiiiggggnnnnmmmmeeeennnntttt,,,,
- llllaaaayyyyoooouuuutttt____ddddiiiirrrreeeeccccttttiiiioooonnnn,,,, cccclllliiiipppp)
- _D_i_s_p_l_a_y **** dddd;
- _W_i_n_d_o_w wwww;
- _X_m_F_o_n_t_L_i_s_tffffoooonnnnttttlllliiiisssstttt;
- _X_m_S_t_r_i_n_g ssssttttrrrriiiinnnngggg;
- _G_C ggggcccc;
- _P_o_s_i_t_i_o_n xxxx;
- _P_o_s_i_t_i_o_n yyyy;
- _D_i_m_e_n_s_i_o_n wwwwiiiiddddtttthhhh;
- _u_n_s_i_g_n_e_d _c_h_a_raaaalllliiiiggggnnnnmmmmeeeennnntttt;
- _u_n_s_i_g_n_e_d _c_h_a_rllllaaaayyyyoooouuuutttt____ddddiiiirrrreeeeccccttttiiiioooonnnn;
- _X_R_e_c_t_a_n_g_l_e**** cccclllliiiipppp;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_S_t_r_i_n_g_D_r_a_w_I_m_a_g_e draws a compound string in an X Window and
- paints both the foreground and background bits of each
- character. If a compound string segment uses a font list
- entry that defines a font set, the graphic context passed to
- this routine will have the GC font member left in an
- undefined state. The underlying _X_m_b_S_t_r_i_n_g_D_r_a_w function
- called by this routine modifies the font id field of the GC
- passed into it and does not attempt to restore the font id
- to the incoming value. If the compound string segment is
- not drawn using a font set, the graphic context must contain
- a valid font member. Graphic contexts created by _X_t_G_e_t_G_C
- are not accepted by this routine; instead, use _X_t_A_l_l_o_c_a_t_e_G_C
- to create a graphic context.
-
- dddd Specifies the display.
-
- wwww Specifies the window.
-
- ffffoooonnnnttttlllliiiisssstttt
- Specifies the font list.
-
- ssssttttrrrriiiinnnngggg
- Specifies the string.
-
- ggggcccc Specifies the graphics context to use.
-
- xxxx Specifies a coordinate of the rectangle that will
- contain the displayed compound string.
-
- yyyy Specifies a coordinate of the rectangle that will
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX))))
-
-
-
- contain the displayed compound string.
-
- wwwwiiiiddddtttthhhh
- Specifies the width of the rectangle that will contain
- the displayed compound string.
-
- aaaalllliiiiggggnnnnmmmmeeeennnntttt
- Specifies how the string will be aligned within the
- specified rectangle. It is either
- _X_m_A_L_I_G_N_M_E_N_T__B_E_G_I_N_N_I_N_G, _X_m_A_L_I_G_N_M_E_N_T__C_E_N_T_E_R, or
- _X_m_A_L_I_G_N_M_E_N_T__E_N_D.
-
- llllaaaayyyyoooouuuutttt____ddddiiiirrrreeeeccccttttiiiioooonnnn
- Controls the direction in which the segments of the
- compound string will be laid out. It also determines
- the meaning of the aaaalllliiiiggggnnnnmmmmeeeennnntttt parameter.
-
- cccclllliiiipppp Allows the application to restrict the area into which
- the compound string will be drawn. If NULL, no
- clipping will be done.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _X_m_S_t_r_i_n_g_C_r_e_a_t_e(_3_X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-